﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DevComponents.DotNetBar;
namespace QuanLyNhaSach
{
    public partial class Form_DangNhap : DevComponents.DotNetBar.Office2007Form
    {
        public Form_DangNhap()
        {
            InitializeComponent();
        }

        private void btnDangNhap_Click(object sender, EventArgs e)
        {
            if (txtdangnhap.Text == "admin" && txtmatkhau.Text == "admin")
            {
                this.Hide();
                Form_Main frm = new Form_Main();
                frm.ShowDialog();                
            }
            else
                lblThongBao.Text = "Sai tên đăng nhập hoặc mật khẩu";
        }
    }
}
